package com.bmit.clusterspring.log;

import com.bmit.clusterspring.model.ClusterLog;
import com.bmit.clusterspring.service.LogService;

public class SaveClusterLogThread implements Runnable {
    private LogService service;
    private ClusterLog clusterLog;

    public SaveClusterLogThread(LogService service, ClusterLog clusterLog) {
        this.service = service;
        this.clusterLog = clusterLog;
    }

    @Override
    public void run() {
        service.insertCLog(clusterLog);
    }
}
